<?php

namespace Core\Service\Parameterchooser;

use Core\Helper\CommonHelper;

class ParameterChooserFreetext implements ParameterChooserInterface
{


    public function genHtml()
    {
        $rand_string = CommonHelper::rand_string(4);
        return '<input class="k-textbox txt_param_holder" required id="txtFreetext_'.$rand_string.'" name="txtFreetext_'.$rand_string.'" validationMessage="Chưa nhập tham số">
        <span class="k-invalid-msg" data-for="txtFreetext_'.$rand_string.'"></span>';
    }
}
